﻿using System;


namespace DailyFx.Book
{

	public class Metrics 
	{
		/// <summary>
		///		Gets the label text of the table .
		/// </summary>
		public String Table
		{
			get;
			set;
		}

		/// <summary>
		///		Gets the schema label of this table metrics .
		/// </summary>
		public Schema Schema
		{
			get;
			set;
		}

		/// <summary>
		///		Gets the symbol for the table .
		/// </summary>
		public Symbol Symbol
		{
			get;
			set;
		}


		/// <summary>
		///		Gets the number of fields for each record in the table .
		/// </summary>
		public int FieldCount
		{
			get;
			set;
		}

		/// <summary>
		///		Gets the number of records stored in the table .
		/// </summary>
		public int RecordCount
		{
			get;
			set;
		}

		/// <summary>
		///		Gets the period between 2 regular records, regardless the holiday span .
		/// </summary>
		public Period Period
		{
			get;
			set;
		}

		/// <summary>
		///		Gets the timestamp of the first record in the table. 
		/// </summary>
		public DateTime Head
		{
			get;
			set;
		}

		/// <summary>
		///		Gets the timestamp of the last record in the table. 
		/// </summary>
		public DateTime Tail
		{
			get;
			set;
		}

		/// <summary>
		///		Gets the extra comment of the table .
		/// </summary>
		public String Comment
		{
			get;
			set;
		}
		
		
	} 
}
